alex software package provides lexical analyser generator for Haskell, you can install in your Debian 7 (Wheezy) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install alex
alex is installed in your system.
Make ensure the alex package were installed using the commands given below,
$ sudo dpkg-query -l | grep alex *
You will get with alex package name, version, architecture and description in a table
| Distro | Debian 7 wheezy |
| Section | Haskell |
| Package | alex |
| Version | 3.0.1-1+b1 [armhf, s390x], 3.0 |
| Description | lexical analyser generator for Haskell |
| Sub Section | Haskell |